package lab02.test17;

public class Test17 {
    public static void main(String[] args) {
        int[] array = {50,51,12,8,7,6,3,2,17,29};
        for(int i = 0; i < array.length; i++) {
            System.out.print(array[i]);
            System.out.print('\t');
        }
        System.out.println();

        ArrayMaximum max = new ArrayMaximum();
        max.getExtrtmum(array);

        ArrayMinimum min = new ArrayMinimum();
        min.getExtrtmum(array);

        ArraySum sum = new ArraySum();
        System.out.println("数组总和:" + sum.getArraySum(array));

        System.out.println();

    }
}
